package com.hsnn.medstgmini.trading.pur.model;//

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @category 订单包号实体类
 * @author 韩守松
 * @date 2015年11月25日
 */
@Entity
@Table(name="pur_orderpack")
public class PurOrderpack implements Serializable{
	
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="order_pack_id")
	private String orderPackId;//订单包号
	
	@Column(name="hosp_code")
	private String hospCode;//采购医疗机构编码
		
	@Column(name="hosp_name")
	private String hospName;//医疗机构名称
		
	@Column(name="hosp_spel_code")
	private String hospSpelCode;//医疗机构名称拼音码
		
	@Column(name="hosp_status")
	private Integer hospStatus;//医疗机构状态
		
	@Column(name="hosp_area_id")
	private String hospAreaId;//医疗机构地区编码
		
	@Column(name="hosp_area_name")
	private String hospAreaName;//医疗机构地区名称
		
	@Column(name="hosp_ar_shortname")
	private String hospArShortname;//医疗机构地区简称
		
	@Column(name="hosp_ar_fullname")
	private String hospArFullname;//医疗机构地区完整名称
		
	@Column(name="user_id")
	private String userId;//采购用户ID
		
	@Column(name="recp_addr_id")
	private String recpAddrId;//送货地址ID
		
	@Column(name="recp_addr_s")
	private String recpAddrS;//送货地址简写
		
	@Column(name="recp_addr")
	private String recpAddr;//送货地址完整
		
	@Column(name="recp_user")
	private String recpUser;//收货人
		
	@Column(name="recp_userphone")
	private String recpUserphone;//收货人电话
		
	@Column(name="order_beg_time")
	private Date orderBegTime;//订单开始时间
		
	@Column(name="order_end_time")
	private Date orderEndTime;//订单截止时间
		
	@Column(name="count")
	private Integer count;//总条目数
		
	@Column(name="amount")
	private Double amount;//总金额
		
	@Column(name="remarks")
	private String remarks;//备注
		
	@Column(name="submit_datetime")
	private Date submitDatetime;//提交时间
		
	@Column(name="submit_user")
	private String submitUser;//提交人
		
	@Column(name="del_comp_code")
	private String delCompCode;//配送企业编码
		
	@Column(name="del_comp_name")
	private String delCompName;//配送企业名称
		
	@Column(name="del_comp_name_spel")
	private String delCompNameSpel;//配送企业拼音码
		
	@Column(name="del_comp_status")
	private Integer delCompStatus;//配送企业状态
		
	@Column(name="order_confirm_time")
	private Date orderConfirmTime;//确认时间
		
	@Column(name="order_confirm_user")
	private String orderConfirmUser;//确认人
		
	@Column(name="order_confirm_timespace")
	private Date orderConfirmTimespace;//订单提交到确认时间差
		
	@Column(name="order_status")
	private Integer orderStatus;//订单状态1已提交，2确认配送，3无法配送，4已配送，5已到货，6未到货
		
	@Column(name="order_conf_end_time")
	private Date orderConfEndTime;//订单确认截止时间
		
	@Column(name="order_del_end_time")
	private Date orderDelEndTime;//订单配送截止时间
		
	@Column(name="is_urgent")
	private Integer isUrgent;//是否急救药品订单

	public String getOrderPackId() {
		return orderPackId;
	}

	public void setOrderPackId(String orderPackId) {
		this.orderPackId = orderPackId;
	}

	public String getHospCode() {
		return hospCode;
	}

	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}

	public String getHospName() {
		return hospName;
	}

	public void setHospName(String hospName) {
		this.hospName = hospName;
	}

	public String getHospSpelCode() {
		return hospSpelCode;
	}

	public void setHospSpelCode(String hospSpelCode) {
		this.hospSpelCode = hospSpelCode;
	}

	public Integer getHospStatus() {
		return hospStatus;
	}

	public void setHospStatus(Integer hospStatus) {
		this.hospStatus = hospStatus;
	}

	public String getHospAreaId() {
		return hospAreaId;
	}

	public void setHospAreaId(String hospAreaId) {
		this.hospAreaId = hospAreaId;
	}

	public String getHospAreaName() {
		return hospAreaName;
	}

	public void setHospAreaName(String hospAreaName) {
		this.hospAreaName = hospAreaName;
	}

	public String getHospArShortname() {
		return hospArShortname;
	}

	public void setHospArShortname(String hospArShortname) {
		this.hospArShortname = hospArShortname;
	}

	public String getHospArFullname() {
		return hospArFullname;
	}

	public void setHospArFullname(String hospArFullname) {
		this.hospArFullname = hospArFullname;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRecpAddrId() {
		return recpAddrId;
	}

	public void setRecpAddrId(String recpAddrId) {
		this.recpAddrId = recpAddrId;
	}

	public String getRecpAddrS() {
		return recpAddrS;
	}

	public void setRecpAddrS(String recpAddrS) {
		this.recpAddrS = recpAddrS;
	}

	public String getRecpAddr() {
		return recpAddr;
	}

	public void setRecpAddr(String recpAddr) {
		this.recpAddr = recpAddr;
	}

	public String getRecpUser() {
		return recpUser;
	}

	public void setRecpUser(String recpUser) {
		this.recpUser = recpUser;
	}

	public String getRecpUserphone() {
		return recpUserphone;
	}

	public void setRecpUserphone(String recpUserphone) {
		this.recpUserphone = recpUserphone;
	}

	public Date getOrderBegTime() {
		return orderBegTime;
	}

	public void setOrderBegTime(Date orderBegTime) {
		this.orderBegTime = orderBegTime;
	}

	public Date getOrderEndTime() {
		return orderEndTime;
	}

	public void setOrderEndTime(Date orderEndTime) {
		this.orderEndTime = orderEndTime;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Date getSubmitDatetime() {
		return submitDatetime;
	}

	public void setSubmitDatetime(Date submitDatetime) {
		this.submitDatetime = submitDatetime;
	}

	public String getSubmitUser() {
		return submitUser;
	}

	public void setSubmitUser(String submitUser) {
		this.submitUser = submitUser;
	}

	public String getDelCompCode() {
		return delCompCode;
	}

	public void setDelCompCode(String delCompCode) {
		this.delCompCode = delCompCode;
	}

	public String getDelCompName() {
		return delCompName;
	}

	public void setDelCompName(String delCompName) {
		this.delCompName = delCompName;
	}

	public String getDelCompNameSpel() {
		return delCompNameSpel;
	}

	public void setDelCompNameSpel(String delCompNameSpel) {
		this.delCompNameSpel = delCompNameSpel;
	}

	public Integer getDelCompStatus() {
		return delCompStatus;
	}

	public void setDelCompStatus(Integer delCompStatus) {
		this.delCompStatus = delCompStatus;
	}

	public Date getOrderConfirmTime() {
		return orderConfirmTime;
	}

	public void setOrderConfirmTime(Date orderConfirmTime) {
		this.orderConfirmTime = orderConfirmTime;
	}

	public String getOrderConfirmUser() {
		return orderConfirmUser;
	}

	public void setOrderConfirmUser(String orderConfirmUser) {
		this.orderConfirmUser = orderConfirmUser;
	}

	public Date getOrderConfirmTimespace() {
		return orderConfirmTimespace;
	}

	public void setOrderConfirmTimespace(Date orderConfirmTimespace) {
		this.orderConfirmTimespace = orderConfirmTimespace;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Date getOrderConfEndTime() {
		return orderConfEndTime;
	}

	public void setOrderConfEndTime(Date orderConfEndTime) {
		this.orderConfEndTime = orderConfEndTime;
	}

	public Date getOrderDelEndTime() {
		return orderDelEndTime;
	}

	public void setOrderDelEndTime(Date orderDelEndTime) {
		this.orderDelEndTime = orderDelEndTime;
	}

	public Integer getIsUrgent() {
		return isUrgent;
	}

	public void setIsUrgent(Integer isUrgent) {
		this.isUrgent = isUrgent;
	}

	
}
